package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.arpa.wms.domain.entity.PackingMaterial;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 包装材料 VO
 * @author rfwang
 * @date 2021-08-25 16:00:46
 **/
@Data
@ApiModel(value="PackingMaterialVO对象", description="包装材料VO")
public class PackingMaterialVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "包材编码")
    private String code;

    @ApiModelProperty(value = "所属机构code")
    private String groupCode;

    @ApiModelProperty(value = "包材名称")
    private String name;

    @ApiModelProperty(value = "包材容积")
    private BigDecimal volume;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "创建人")
    private String createdName;

    @ApiModelProperty(value = "修改人")
    private String modifiedName;

    @ApiModelProperty(value = "修改时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "发货单号")
    private String deliveryCode;

    @ApiModelProperty(value = "包材列表")
    private List<PackingMaterial> packingMaterialList;



}
